package com.ruoyi.profession.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 进修信息对象 education_training
 * 
 * @author ruoyi
 * @date 2024-05-31
 */
public class EducationTraining extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 基本信息ID（外键） */
    @Excel(name = "基本信息ID", readConverterExp = "外=键")
    private Long basicInfoId;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date trainingDate;

    /** 地点 */
    @Excel(name = "地点")
    private String place;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 是否有进修证书 */
    @Excel(name = "是否有进修证书")
    private String hasStudyCertificate;

    /** 证书PDF件 */
    @Excel(name = "证书PDF件")
    private String certificatePdf;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBasicInfoId(Long basicInfoId) 
    {
        this.basicInfoId = basicInfoId;
    }

    public Long getBasicInfoId() 
    {
        return basicInfoId;
    }
    public void setTrainingDate(Date trainingDate) 
    {
        this.trainingDate = trainingDate;
    }

    public Date getTrainingDate() 
    {
        return trainingDate;
    }
    public void setPlace(String place) 
    {
        this.place = place;
    }

    public String getPlace() 
    {
        return place;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setHasStudyCertificate(String hasStudyCertificate) 
    {
        this.hasStudyCertificate = hasStudyCertificate;
    }

    public String getHasStudyCertificate() 
    {
        return hasStudyCertificate;
    }
    public void setCertificatePdf(String certificatePdf) 
    {
        this.certificatePdf = certificatePdf;
    }

    public String getCertificatePdf() 
    {
        return certificatePdf;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("basicInfoId", getBasicInfoId())
            .append("trainingDate", getTrainingDate())
            .append("place", getPlace())
            .append("content", getContent())
            .append("hasStudyCertificate", getHasStudyCertificate())
            .append("certificatePdf", getCertificatePdf())
            .toString();
    }
}
